<template>
  <div class="lesson">
    <div class="lesson-bg">
      <img src="../../../assets/image/onlineStudent/lesson-bg.png" alt="" />
      <img v-bind:src= head_img alt="" />
    </div>
    <div class="lesson-main">
      <div class="container-fluid">
        <div class="container">
          <el-row>
            <el-col :span="24">
              <lesson-header></lesson-header>
              <lesson-info></lesson-info>
              <lesson-tabs></lesson-tabs>
              <lesson-footer></lesson-footer>
            </el-col>
          </el-row>
        </div>
      </div>
    </div>
  </div>
</template>

<script>
import lessonHeader from './subpage/lessonHeader';
import lessonInfo   from './subpage/lessonInfo';
import lessonTabs   from './subpage/lessonTabs/index';
import lessonFooter from './subpage/lessonFooter';
export default {
  components:{
    lessonHeader,
    lessonInfo,
    lessonTabs,
    lessonFooter
  },
  data() {
    return {
      head_img:this.$route.cover,
    }
  },

}
</script>

<style lang="less" scoped>
@import '../common/index.less';
.lesson {
  position: relative;
  width: 100%;
  font-size: @baseSize;
  background: #f8fafc;
  .lesson-bg {
    position: absolute;
    top: 0;
    img {
      width: 100%;
    }
  }
  .lesson-main {
    position: relative;
    z-index: 1;
  }
}
</style>
